public class niao extends Animal3 {
    @Override
    public void eat() {
        System.out.println("chong");
    }

    public static void main(String[] args) {
        niao n = new niao();
        Animal3 m = new niao();
        n.eat();
        m.eat();
    }
}
